package com.geekhalo.admin.domain.user.disable;

import com.geekhalo.admin.domain.user.disable.DisableUserCommand; 
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class DisableUserContext{
    private DisableUserCommand command;

    private DisableUserContext(DisableUserCommand command){
         this.command = command;
    }

    public static DisableUserContext apply(DisableUserCommand command) {
        DisableUserContext context = new DisableUserContext(command);
        return context;
    }
}
